package com.ruoyi.help.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @author lejav
 * @date 2023/5/20 15:28
 */
public class StudentAfterVo {

    /**
     * 学生跟踪ID
     */
    private Long id;

    /**
     * 所在班级ID
     */
    @Excel(name = "所在班级ID")
    private String className;

    /**
     * 学生ID
     */
    @Excel(name = "学生ID")
    private List<String> stuName;

    /**
     * 跟踪日期
     */
    @NotBlank(message = "时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "跟踪日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date afterTime;

    /**
     * 跟踪目的
     */
    @NotNull(message = "目的不能为空")
    private Long afterGoal;

    /**
     * 跟踪备注
     */
    private String afterNote;

    /**
     * 跟踪人
     */
    private String teacherName;

    /**
     * 学生状态
     */
    @NotNull(message = "状态不能为空")
    private Long stuType;

    /**
     * 跟踪次数
     */
    private Long afterCount = 0L;


    public StudentAfterVo(Long id, String className, List<String> stuName, Date afterTime, Long afterGoal, String afterNote, String teacherName, Long stuType, Long afterCount) {
        this.id = id;
        this.className = className;
        this.stuName = stuName;
        this.afterTime = afterTime;
        this.afterGoal = afterGoal;
        this.afterNote = afterNote;
        this.teacherName = teacherName;
        this.stuType = stuType;
        this.afterCount = afterCount;
    }
    public StudentAfterVo() {
    }

    @Override
    public String toString() {
        return "StudentAfterVo{" +
                "id=" + id +
                ", className='" + className + '\'' +
                ", stuName=" + stuName +
                ", afterTime=" + afterTime +
                ", afterGoal=" + afterGoal +
                ", afterNote='" + afterNote + '\'' +
                ", teacherName='" + teacherName + '\'' +
                ", stuType=" + stuType +
                ", afterCount=" + afterCount +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<String> getStuName() {
        return stuName;
    }

    public void setStuName(List<String> stuName) {
        this.stuName = stuName;
    }

    public Date getAfterTime() {
        return afterTime;
    }

    public void setAfterTime(Date afterTime) {
        this.afterTime = afterTime;
    }

    public Long getAfterGoal() {
        return afterGoal;
    }

    public void setAfterGoal(Long afterGoal) {
        this.afterGoal = afterGoal;
    }

    public String getAfterNote() {
        return afterNote;
    }

    public void setAfterNote(String afterNote) {
        this.afterNote = afterNote;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Long getStuType() {
        return stuType;
    }

    public void setStuType(Long stuType) {
        this.stuType = stuType;
    }

    public Long getAfterCount() {
        return afterCount;
    }

    public void setAfterCount(Long afterCount) {
        this.afterCount = afterCount;
    }
}
